#pragma once

#include <string>
#include "RedisClient.h"
#include "Singleton.h"
#include "3400_api_order.pb.h"


class Cache 
{
public:
    Cache();
    virtual ~Cache();

public:
    static Cache* Instance()
	{
		return CSingleton<Cache>::Instance();
	}

public:
	bool RpopApiOrderCreate(api_order::ApiOrder& api_order);
	bool RpopApiOrderFinish(api_order::ApiOrder& api_order);

public:
	RedisClient* m_gameOrderRedis;
};












